You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ember-cli-sheetjs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-sheetjs

ember-cli addon for including sheetjs

0.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-sheetjs

An ember-cli addon for including SheetJs

Currently supports:

  • sheetjs/js-xlsx

Includes a utility class to manipulate workbooks that have been parsed using SheetJs functions.

Adding to an ember-cli app

To use in an ember-cli app:

$ npm install --save ember-cli-sheetjs

Inside your app, XLSX, and XLSXWorkbook are exposed as global variables. Notify jshint about them using:

/*globals XLSX, XLSXWorkbook*/

Options for ember-cli

Edit your Brocfile.js to add some options:

var app = new EmberApp({
    // ...
    sheetjs: {
        xlsx: true,
        jszip: true,
        cpexcel: true,
        workbook: true,
    },
    // ...
});
  • Disabling xslx will effectively disable this plugin.
  • You may include jszip or cpexcel that is bundled together with sheetjs/js-xlsx (recommended)
  • You may include workbook, which contains utility functions for manipulating spreadsheets

Adding to a NodeJs project

var xlsx = require('ember-cli-sheetjs/xlsx');
var xlsxWorkbook = require('ember-cli-sheetjs/workbook');

Keywords

ember-addon

FAQs

Package last updated on 14 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts